/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;

/**
 *
 * @author PhucAnh
 */
public class Shape {
    private Color color;
    private int basicStroke ;

    public Shape() {
    
    }

    public Shape(Color color, int basicStroke) {
        this.color = color;
        this.basicStroke = basicStroke;
    }


    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public int getBasicStroke() {
        return basicStroke;
    }

    public void setBasicStroke(int basicStroke) {
        this.basicStroke = basicStroke;
    }
    
    public void drawShape(Graphics g,BufferedImage a){
    }
    
    public void toMove(int m,int n){
        
    }
    
    public boolean isContain(Point p1){
        return false;
    }
    
    public void undo(BufferedImage a){
        
    }
    
    public void redo(BufferedImage a){
        
    }
    /**
     *
     * @param g
     * @param time
     * @param a
     * @param a2
     */
    public void replay(Graphics g, int time,Image a,Control.NewClass.MyPanel1 a2) {
       
    }
}
